package com.haoshuang.zhouzhoubang.ui.page.mine.notice.list

import com.haoshuang.zhouzhoubang.databinding.ItemNoticeListBinding
import com.haoshuang.zhouzhoubang.model.bean.HomeDataBean
import com.mufeng.libs.base.BaseBindingHolder
import com.mufeng.libs.base.BaseBindingQuickAdapter


/**
 * 
 */
class NoticeListAdapter(data: MutableList<HomeDataBean.SystemNotice>) : BaseBindingQuickAdapter<HomeDataBean.SystemNotice, ItemNoticeListBinding>(data) {

    override fun onBindViewHolder(holder: BaseBindingHolder, position: Int, item: HomeDataBean.SystemNotice?) {
        holder.getViewBinding<ItemNoticeListBinding>().apply {
            root.text = item?.title
        }
    }

}